# -*- coding:utf-8 -*-
from app import *
import os
import sys

try:
    reload(sys)
    sys.setdefaultencoding('utf-8')
except NameError:
    from imp import reload
    reload(sys)

if __name__ == '__main__':
    from werkzeug.contrib.fixers import ProxyFix
    app.wsgi_app = ProxyFix(app.wsgi_app)
    app.run()